package cn.stylefeng.guns.sys.modular.dataShift.mapper;

import cn.stylefeng.guns.sys.modular.dataQualityCheck.entity.EtlJob;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataShiftMapper {

    /**
     * etl_job表插入数据
     * @param paramCondition
     */
    void insertEtlJob(@Param("paramCondition") EtlJob paramCondition);


    /**
     * 删除etl_job记录
     * @param paramCondition
     */
    void deleteEtlJob(@Param("paramCondition") EtlJob paramCondition);

    /**
     * 根据不同条件查询etl_job详情
     * @param paramCondition
     * @return
     */
    List<EtlJob> searchEtlJob(@Param("paramCondition") EtlJob paramCondition);


    /**
     * 查询数据库id
     * @param paramCondition
     * @return
     */
    int searchServiceId(@Param("paramCondition") Integer paramCondition);
}
